<template>
  <div>
    <h2 @click="fullName='cai-xukun'">{{ fullName }}</h2>
  </div>
</template>

<script setup lang="ts">
import { ref, watch } from "vue"

const  fullName=ref('hey-bro')
watch(fullName, () => {
  alert('🐓')
})

</script>

<style>

</style>